package com.fgw.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 投资计划
 * 
 * @author system
 * @date 2020-11-16 22:38:51
 */
@TableName("tb_investment_plan")
public class InvestmentPlan extends Model<InvestmentPlan> {
	private static final long serialVersionUID = 1L;

	/**
	 * 投资计划ID
	 */
	    @TableId(value="investment_plan_id", type= IdType.AUTO)
			private Integer investmentPlanId;
	/**
	 * 基本信息ID
	 */
	    @TableField("basic_information_id")
			private Integer basicInformationId;
	/**
	 * 资金类别
	 */
	    @TableField("capital_category")
			private String capitalCategory;
	/**
	 * 累计下达(安排)资金(万元)
	 */
	    @TableField("Issued_capital")
			private Double issuedCapital;
	/**
	 * 总投资
	 */
	    @TableField("total_investment")
			private Double totalInvestment;
	/**
	 * 累计完成投资(万元)
	 */
	    @TableField("complete_investment")
			private Double completeInvestment;
	/**
	 * 年份
	 */
	    @TableField("YEAR")
			private String year;
	/**
	 * 备注
	 */
	    @TableField("remark")
			private String remark;
	/**
	 * 创建人
	 */
	    @TableField("create_user")
			private String createUser;
	/**
	 * 创建人ID
	 */
	    @TableField("create_userid")
			private Integer createUserid;
	/**
	 * 创建时间
	 */
	    @TableField("create_time")
		    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
		private Date createTime;
	/**
	 * 更新人
	 */
	    @TableField("update_user")
			private String updateUser;
	/**
	 * 更信任ID
	 */
	    @TableField("update_userid")
			private Integer updateUserid;
	/**
	 * 更新时间
	 */
	    @TableField("update_time")
		    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
		private Date updateTime;

	/**
	 * 设置：投资计划ID
	 */
	public void setInvestmentPlanId(Integer investmentPlanId) {
		this.investmentPlanId = investmentPlanId;
	}
	/**
	 * 获取：投资计划ID
	 */
	public Integer getInvestmentPlanId() {
		return investmentPlanId;
	}
	/**
	 * 设置：基本信息ID
	 */
	public void setBasicInformationId(Integer basicInformationId) {
		this.basicInformationId = basicInformationId;
	}
	/**
	 * 获取：基本信息ID
	 */
	public Integer getBasicInformationId() {
		return basicInformationId;
	}
	/**
	 * 设置：资金类别
	 */
	public void setCapitalCategory(String capitalCategory) {
		this.capitalCategory = capitalCategory;
	}
	/**
	 * 获取：资金类别
	 */
	public String getCapitalCategory() {
		return capitalCategory;
	}
	/**
	 * 设置：累计下达(安排)资金(万元)
	 */
	public void setIssuedCapital(Double issuedCapital) {
		this.issuedCapital = issuedCapital;
	}
	/**
	 * 获取：累计下达(安排)资金(万元)
	 */
	public Double getIssuedCapital() {
		return issuedCapital;
	}
	/**
	 * 设置：总投资
	 */
	public void setTotalInvestment(Double totalInvestment) {
		this.totalInvestment = totalInvestment;
	}
	/**
	 * 获取：总投资
	 */
	public Double getTotalInvestment() {
		return totalInvestment;
	}
	/**
	 * 设置：累计完成投资(万元)
	 */
	public void setCompleteInvestment(Double completeInvestment) {
		this.completeInvestment = completeInvestment;
	}
	/**
	 * 获取：累计完成投资(万元)
	 */
	public Double getCompleteInvestment() {
		return completeInvestment;
	}
	/**
	 * 设置：年份
	 */
	public void setYear(String year) {
		this.year = year;
	}
	/**
	 * 获取：年份
	 */
	public String getYear() {
		return year;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	/**
	 * 获取：创建人
	 */
	public String getCreateUser() {
		return createUser;
	}
	/**
	 * 设置：创建人ID
	 */
	public void setCreateUserid(Integer createUserid) {
		this.createUserid = createUserid;
	}
	/**
	 * 获取：创建人ID
	 */
	public Integer getCreateUserid() {
		return createUserid;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新人
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * 获取：更新人
	 */
	public String getUpdateUser() {
		return updateUser;
	}
	/**
	 * 设置：更信任ID
	 */
	public void setUpdateUserid(Integer updateUserid) {
		this.updateUserid = updateUserid;
	}
	/**
	 * 获取：更信任ID
	 */
	public Integer getUpdateUserid() {
		return updateUserid;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	@Override
	protected Serializable pkVal() {
		return this.investmentPlanId;
	}
}